<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"
	contentType="text/html; charset=UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="/WEB-INF/FCKeditor.tld" prefix="fck" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>合众人寿公益平台客户管理系统</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<link href="<%= request.getContextPath() %>/html/css/Main.css"
			rel="stylesheet" type="text/css" />
	<script type="text/javascript" src="${pageContext.request.contextPath}/html/fckeditor/fckeditor.js"></script>
			<style>
body,ul,ol,dl,dd,p,h1,h2,h3,h4,h5,h6,form,input,textarea,select,td,th{margin:0;padding:0; font-family:"宋体",Arial, Helvetica, sans-serif;}
li{ list-style:none;}
.clear{ zoom:1;}
.clear:after{content:""; display:block; clear:both;}
</style>	
	</head>

	<body>
		<div class="container">
			<div class="wrap clear">
				<div class="sub_wp_right">
					<div class="rt_tt">
						<h3 class="tittle"> 
							设置签名 
						</h3>
					</div>
					<div class="ct">
						<div class="tiaojian">
							<form
								action="<%=request.getContextPath()%>/mail/saveMailSignatrue.do"
								method="post">
							 <div class="add">
								<table>
									<tr>
										<td align="left">
											<span style="width:150px;text-align: left">邮件签名:<font color="red">(*)</font>：</span>
										</td>
									</tr>
									<tr>
										<td colspan="1" class="t2">
										<c:if test="${mailSignature ne null}">
											<input type="hidden" name="mailSignature.oid" value="${mailSignature.oid}">
										</c:if>
											<span><textarea rows="30" cols="75" name="signature" id="signature" style="width:100%"><c:if test="${mailSignature eq null}"></c:if>${signature}</textarea></span>
											<script type="text/javascript">
												var oFCKeditor = new FCKeditor('signature') ;
												oFCKeditor.BasePath = "${pageContext.request.contextPath}/html/fckeditor/" ;
												oFCKeditor.Height = 420;
												oFCKeditor.Width = 700;
												oFCKeditor.ToolbarSet = "Default" ; 
												oFCKeditor.Config['CustomConfigurationsPath'] = 'fckconfig.js';
												oFCKeditor.ImageBrowser=true;
												oFCKeditor.ReplaceTextarea();
												imageBrowserURL="editor/filemanager/browser/default/browser.html?Type=Image&Connector=connectors/jsp/connector";
											    linkBrowserURL="editor/filemanager/browser/default/browser.html?Connector=connectors/jsp/connector";
											    flashBrowserURL="editor/filemanager/browser/default/browser.html?Type=Flash&Connector=connectors/jsp/connector";  
											    imageUploadURL="editor/filemanager/upload/simpleuploader?Type=Image";
											    linkUploadURL="editor/filemanager/upload/simpleuploader?Type=File";
											    flashUploadURL="editor/filemanager/upload/simpleuploader?Type=Flash";
											</script> 
										</td>
									</tr>
									<tr>
										<td>
											<div class="btn">
												<input type="submit" name="imp" value="保存" />
											</div>
										</td>
									</tr>
								</table>
								</div>
							</form>

						</div>
					</div>
				</div>
			</div>
		</div>

	</body>
</html>
